home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_10_08
/
1008068a
< prev
next >
Wrap
Text File
|
1992-05-27
|
632b
|
23 lines
/*
Postman's Sort (R) Version 1.0
Copyright (c) Robert Ramey 1991. All Rights Reserved
*/
typedef int BOOLEAN;
typedef unsigned int MEM_SIZE;
typedef size_t SEG_SIZE;
typedef long FILE_SIZE;
/* note: cannot be unsigned as -1 is used for EOF */
#define K 1024
#define TRUE 1
#define FALSE 0
#define private static
#define DEFAULT_RECORD_SIZE 511
#define MAX_BUFFER_SIZE 31
#define isdelim(c) (c==delimiter)
#define RB_SIZE 30 /* Default size for input buffer from work file */
#define SB_SIZE 30 /* Default size for output buffer to workfile */
#define B_SIZE 30 /* Default size for input/output buffers */